<template>
  <el-select-v2 v-model="mealType" :options="options"/>
</template>
<script lang="ts" setup>
import {ElSelectV2} from "element-plus";
import {MealType} from "@/api/types/meal";

const mealType = defineModel<MealType>()

const options: { label: MealType, value: MealType }[] = [
  {
    label: "早餐",
    value: "早餐"
  },
  {
    label: "午餐",
    value: "午餐"
  },
  {
    label: "晚餐",
    value: "晚餐"
  },
]
</script>
